import Vue from 'vue';
import Vuex from 'vuex';
import ticket from './modules/ticket.js';
import header from './modules/header.js';
import userInfo from './modules/userInfo.js';
import theme from './modules/theme.js';
import message from './modules/message.js';
import common from './modules/common.js';
import page from './modules/page.js';

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {},
    mutations: {},
    actions: {},
    modules: {
        ticket,
        header,
        userInfo,
        theme,
        message,
        common,
        page
    }
});

export default store;
